package com.example.mychat.service;

import com.example.mychat.dto.MessageWithThumb;
import com.example.mychat.entity.Message;

import java.util.List;

public interface IMessageService {

    public List<Message> findByTime();

    public List<MessageWithThumb> findByLikeNum();

    public List<MessageWithThumb> findByLikeNum(String username);

    public List<Message> findByReceiverId(int receiverId);
}
